package com.jinmdz.fmis.mapper.entity;

import com.jinmdz.fmis.mapper.annotation.MyColumn;
import com.jinmdz.fmis.mapper.annotation.MyTable;
import com.jinmdz.fmis.mapper.base.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 费用结算付款表Entity
 *
 * @author generator
 * @date 2020-03-12 17:08
 */
@MyTable(value = "ChargeSettlePayEntity", name = "charge_settle_pay", comment = "费用结算付款表")
public class ChargeSettlePayEntity extends BaseEntity {
    /**
     * 业务编码
     */
    @MyColumn(value = "businessCode", name = "business_code", comment = "业务编码", required = true)
    private String businessCode;

    /**
     * 费用结算外键
     */
    @MyColumn(value = "chargeSettleId", name = "charge_settle_id", comment = "费用结算外键", required = true)
    private Integer chargeSettleId;

    /**
     * 付款方式编码
     */
    @MyColumn(value = "payTypeCode", name = "pay_type_code", comment = "付款方式编码", required = true)
    private Integer payTypeCode;

    /**
     * 付款金额
     */
    @MyColumn(value = "payCharge", name = "pay_charge", comment = "付款金额", required = true)
    private BigDecimal payCharge;

    /**
     * 付款时间
     */
    @MyColumn(value = "payTime", name = "pay_time", comment = "付款时间", required = true)
    private Date payTime;

    /**
     * 挂账单位
     */
    @MyColumn(value = "accountUnit", name = "account_unit", comment = "挂账单位")
    private String accountUnit;

    /**
     * 随机码
     */
    @MyColumn(value = "randomCode", name = "random_code", comment = "随机码")
    private String randomCode;


    public String getBusinessCode() {
        return businessCode;
    }

    public ChargeSettlePayEntity setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
        return this;
    }

    public Integer getChargeSettleId() {
        return chargeSettleId;
    }

    public ChargeSettlePayEntity setChargeSettleId(Integer chargeSettleId) {
        this.chargeSettleId = chargeSettleId;
        return this;
    }

    public Integer getPayTypeCode() {
        return payTypeCode;
    }

    public ChargeSettlePayEntity setPayTypeCode(Integer payTypeCode) {
        this.payTypeCode = payTypeCode;
        return this;
    }

    public BigDecimal getPayCharge() {
        return payCharge;
    }

    public ChargeSettlePayEntity setPayCharge(BigDecimal payCharge) {
        this.payCharge = payCharge;
        return this;
    }

    public Date getPayTime() {
        return payTime;
    }

    public ChargeSettlePayEntity setPayTime(Date payTime) {
        this.payTime = payTime;
        return this;
    }

    public String getAccountUnit() {
        return accountUnit;
    }

    public ChargeSettlePayEntity setAccountUnit(String accountUnit) {
        this.accountUnit = accountUnit;
        return this;
    }

    public String getRandomCode() {
        return randomCode;
    }

    public ChargeSettlePayEntity setRandomCode(String randomCode) {
        this.randomCode = randomCode;
        return this;
    }
}